package test1230am;

public class Test04 {
    public static void main(String[] args) {
        // (4)求1+2+3+4...+10和
        int a = 0;
        for (int i = 1; i <= 10; i++) {
            a += i;
        }
        System.out.println(a);
    }
}
